<?php
/**
 * Created by PhpStorm
 * User: 龍zero
 * Date: 2022-06-05
 * Time: 17:30
 */

namespace App\Crontab;

use App\Service\QueueService;
use Hyperf\Crontab\Annotation\Crontab;
use Hyperf\Di\Annotation\Inject;

/**
 * Class ActivityTask
 * @package App\Crontab
 */
class DemoTask
{

    /**
     * @Inject()
     * @var QueueService
     */
    private $queueService;

    /**
     * @Crontab(rule="1 0 0 * * *", memo="everydayTask")
     */
    public function everydayTask()
    {

    }
}